/**
 * 
 */
package vlms.junit;

import static org.junit.Assert.*;

import java.rmi.RemoteException;

import org.junit.Test;

import vlms.bean.Account;
import vlms.bean.Person;
import vlms.service.VLMSServiceProxy;

/**
 * @author Dell1
 *
 */
public class VLMSUnitTC {

	VLMSServiceProxy proxy = new  VLMSServiceProxy();
	/**
	 * Test method for {@link vlms.service.VLMSService#deletePremiumCustomer(java.lang.String)}.
	 */
	@Test
	public void testDeletePremiumCustomer() {
		System.out.println("Executing testDeletePremiumCustomer");
		String result = new String();
		proxy.setEndpoint("http://localhost:8080/VLMS/services/VLMSService");
		Person person = new Person("San Jose", "San Jose", 123, "1234123412341234", "Visa", "a@s.com", (float)10.5, "Amit", "Sant", "SC", 1, "CA","98221");
		Account account = new Account("Password", 1, "amit");
		try {
			proxy.createPremiumCustomer(account, person);
			result = proxy.deletePremiumCustomer(String.valueOf(person.getPersonid()));
			assertTrue(result.equals("Premium Customer successfully deleted from the system"));
		} catch (RemoteException e) {
			System.out.println("Exception occured in the test case testDeletePremiumCustomer : "+e.getMessage());
			e.printStackTrace();
		}
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#deleteSimpleCustomer(java.lang.String)}.
	 */
	@Test
	public void testDeleteSimpleCustomer() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#createMovie(vlms.bean.Movie)}.
	 */
	@Test
	public void testCreateMovie() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#deleteMovie(java.lang.String)}.
	 */
	@Test
	public void testDeleteMovie() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#searchPersonByMemNumber(java.lang.String)}.
	 */
	@Test
	public void testSearchPersonByMemNumber() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveIssuedMoviesByMemNumber(java.lang.String)}.
	 */
	@Test
	public void testRetrieveIssuedMoviesByMemNumber() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#changeIssuedMovieStatus(vlms.bean.IssuedMovie)}.
	 */
	@Test
	public void testChangeIssuedMovieStatus() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#listPremiumCustomer()}.
	 */
	@Test
	public void testListPremiumCustomer() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#listSimpleCustomer()}.
	 */
	@Test
	public void testListSimpleCustomer() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#listAllMovies()}.
	 */
	@Test
	public void testListAllMovies() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#listAllPersons()}.
	 */
	@Test
	public void testListAllPersons() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#updateMovie(vlms.bean.Movie)}.
	 */
	@Test
	public void testUpdateMovie() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#searchPerson(vlms.bean.Person)}.
	 */
	@Test
	public void testSearchPerson() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#searchMovie(vlms.bean.Movie)}.
	 */
	@Test
	public void testSearchMovie() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveSimpleCustomerByPersonId(java.lang.String)}.
	 */
	@Test
	public void testRetrieveSimpleCustomerByPersonId() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrievePremiumCustomerByPersonId(java.lang.String)}.
	 */
	@Test
	public void testRetrievePremiumCustomerByPersonId() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveIssuedMoviesByPersonId(java.lang.String)}.
	 */
	@Test
	public void testRetrieveIssuedMoviesByPersonId() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveMovieById(java.lang.String)}.
	 */
	@Test
	public void testRetrieveMovieById() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrievePersonByEmail(java.lang.String)}.
	 */
	@Test
	public void testRetrievePersonByEmail() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrievePersonsByMovieId(java.lang.String)}.
	 */
	@Test
	public void testRetrievePersonsByMovieId() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#clearFine(java.lang.String)}.
	 */
	@Test
	public void testClearFine() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#viewFine(java.lang.String)}.
	 */
	@Test
	public void testViewFine() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#createPremiumCustomer(vlms.bean.Account, vlms.bean.Person)}.
	 */
	@Test
	public void testCreatePremiumCustomer() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#createSimpleCustomer(vlms.bean.Account, vlms.bean.Person)}.
	 */
	@Test
	public void testCreateSimpleCustomer() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#logIn(vlms.bean.Account)}.
	 */
	@Test
	public void testLogIn() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveIssuedMovieByPersonId(java.lang.String)}.
	 */
	@Test
	public void testRetrieveIssuedMovieByPersonId() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveAllMoviesByPersonId(java.lang.String)}.
	 */
	@Test
	public void testRetrieveAllMoviesByPersonId() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrievePersonById(java.lang.String)}.
	 */
	@Test
	public void testRetrievePersonById() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#updateMember(vlms.bean.Account, vlms.bean.Person)}.
	 */
	@Test
	public void testUpdateMember() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#retrieveMovies(vlms.bean.Movie)}.
	 */
	@Test
	public void testRetrieveMovies() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#checkoutMovie(java.lang.String)}.
	 */
	@Test
	public void testCheckoutMovie() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#generateBill(java.lang.String)}.
	 */
	@Test
	public void testGenerateBill() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#viewCart(java.lang.String)}.
	 */
	@Test
	public void testViewCart() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#addMovieInCart(java.lang.String, java.lang.String)}.
	 */
	@Test
	public void testAddMovieInCart() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#deleteMovieFromCart(java.lang.String)}.
	 */
	@Test
	public void testDeleteMovieFromCart() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link vlms.service.VLMSService#addBalanceToAccount(java.lang.String, java.lang.String)}.
	 */
	@Test
	public void testAddBalanceToAccount() {
		fail("Not yet implemented");
	}

}
